package com.ruoyi.system.service;

import com.ruoyi.system.domain.OkrStar;
import com.ruoyi.system.domain.UserStar;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Bruce on 2021/9/11 20:50
 **/
public interface IOkrStarService {

    public int addStarUser(Long userId, Long starUserId);

    public int cancelStarUser(UserStar userStar);

    public int isStar(UserStar okrStar);

    public List<UserStar> queryMyStarUsers(Long userId);

    public int isOkrStar(OkrStar okrStar);

    public List<OkrStar> queryMyStarOkrs(Long userId);

    public int addStarOkr(@Param("okrId") Long okrId, @Param("userId") Long userId);

    public int cancelStarOkr(OkrStar okrStar);
}
